module.exports = {
  apps: [{
    name: "nestjs",
    script: "dist/src/main.js",
    min_uptime: "60s",
    max_restarts: 30,
    exec_mode: "fork",
    error_file: "./logs/pm2-err.log",
    out_file: "./logs/pm2-out.log",
    watch: true
  }]
}